package com.lwc.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("注册用户")
public class newUser {
    @NotBlank(message = "账户不能为空")
    @ApiModelProperty("账户")
    String username;
    @NotBlank(message = "密码不能为空")
    @ApiModelProperty("密码")
    String password;
    @ApiModelProperty("手机号")
    String mobile;

    @ApiModelProperty("部门")
    String dept;
    @ApiModelProperty("用户类型类型")
    Integer type;

}
